package xyz.renyumeng.xkm.es.config;

import org.springframework.amqp.support.converter.Jackson2JsonMessageConverter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author renyumeng
 * @date Created in 11:08 2023/7/4
 */
@Configuration
public class AmqpMessageConverterConfig {
    @Bean
    public Jackson2JsonMessageConverter messageConverter() {
        return new Jackson2JsonMessageConverter();
    }

}

